package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tongatong
 * @name SupplierDao
 * @description
 * @date 2021/10/14
 * @time 17:30
 */
public interface SupplierDao {
    List<Supplier> selectSupplierList(@Param("supplierName") String supplierName);

    void insertSupplierById(Supplier supplier);

    void updateSupplierById(Supplier supplier);

//    void deleteSupplierByIds(@Param("ids") List<Integer> ids);
//    void deleteSupplierByIds(List<Integer> ids);
    void deleteSupplierByIds(String[] ids);
}
